home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODFDev / Embed / Sources / PartInfo.fr < prev    next >
Encoding:
Text File  |  1996-09-17  |  1.9 KB  |  95 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                PartInfo.fr
  4. //    Release Version:    $ ODF 2 $
  5. //
  6. //    Copyright:    (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWRESFIL_K
  11. #include "FWResFil.k"
  12. #endif
  13.  
  14. #ifndef FWPART_FR
  15. #include "FWPart.fr"
  16. #endif
  17.  
  18. #ifndef DEFINES_K
  19. #include "Defines.k"
  20. #endif
  21.  
  22. #ifndef BINDING_K
  23. #include "Binding.k"
  24. #endif
  25.  
  26. #ifndef SLGCONST_K
  27. #include "SLGConst.k" 
  28. #endif
  29.  
  30. #ifndef FWVIEWS_FR
  31. #include "FWViews.fr"
  32. #endif
  33.  
  34. //----------------------------------------------------------------------------------------
  35. //    PartInfo Resource
  36. //----------------------------------------------------------------------------------------
  37.  
  38. resource FW_RPartInfo(kPartInfoID)
  39. {
  40.     // ----- Icon ID
  41.     kViewAsIconID,
  42.     
  43.     // ----- MenuBar ID
  44.     kMenuBar,
  45.     
  46.     // ----- Document Window ID
  47.     0,
  48.     
  49.     // ----- Part Name
  50.     kODFEmbedEditorUserString,
  51.     
  52.     // ----- PartKind
  53.     kODFEmbedKind
  54. };
  55.  
  56. //----------------------------------------------------------------------------------------
  57. //    About Resource
  58. //----------------------------------------------------------------------------------------
  59.  
  60. resource FW_RAbout(kAbout)
  61. {
  62.     // ----- Icon ID
  63.     kAboutIconID,
  64.     // ----- Part Name
  65.     FW_RStyledText
  66.     (
  67.         FW_FIX(18), 
  68.         FW_kBold, 
  69.         "times", 
  70.         "ODFEmbed"
  71.     ),
  72.     // ----- Version Number
  73.     FW_RStyledText
  74.     (
  75.         FW_FIX(9),
  76.         FW_kPlain,
  77.         "geneva",
  78.         "ODF Release 2"
  79.     ),
  80.     // ----- Credits
  81.     FW_RStyledText
  82.     (
  83.         FW_FIX(9),
  84.         FW_kPlain,
  85.         "geneva",
  86.         "ODFEmbed is a simple embedding part editor supporting a single "
  87.         "embedded frame with one or four facets. ODFEmbed also has support for drag and drop"
  88.         ", clipboard operations, and undo. \r\r\r"
  89.         "Written by the ODF Team.\r"
  90.     ),
  91.     // ----- ButtonString
  92.     "OK",
  93.     // ----- ButtonSize
  94.     {FW_FIX(80), FW_FIX(30)}
  95. };